<?xml version="1.0" encoding="utf-8"?>
<div xmlns="http://www.w3.org/1999/xhtml" component="$UI/system/components/justep/window/window" design="device:m;" xid="window" class="window">  
  <div component="$UI/system/components/justep/model/model" xid="model" style="top:178px;left:49px;height:auto;"> 
  <div component="$UI/system/components/justep/data/data" autoLoad="true" xid="nearShopData" idColumn="id" limit="10" onCustomRefresh="nearShopDataCustomRefresh"><column name="id" type="String" xid="xid1"></column>
  <column label="商家简介" name="introduce" type="String" xid="xid2"></column>
  <column label="人均消费" name="price" type="Float" xid="xid3"></column>
  <column label="商家名称" name="name" type="String" xid="xid4"></column>
  <column label="商家图片集" name="images" type="String" xid="xid5"></column>
  <column label="商家电话" name="phone" type="String" xid="xid6"></column>
  <column label="商家图片" name="photo" type="String" xid="xid7"></column></div></div>  
  <span component="$UI/system/components/justep/windowReceiver/windowReceiver" xid="windowReceiver1"></span><div component="$UI/system/components/justep/panel/panel" 
    class="x-panel x-full" xid="panel1"> 
      <div class="x-panel-top" xid="top1"> 
        <div component="$UI/system/components/justep/titleBar/titleBar" title="周边商家"
          class="x-titlebar" style="background-color:#58ACFC;">
          <div class="x-titlebar-left"> 
            <a component="$UI/system/components/justep/button/button"
              label="" class="btn btn-link btn-only-icon" icon="icon-chevron-left"
              onClick="backBtnClick" xid="backBtn"> 
              <i class="icon-chevron-left"/>  
              <span></span> 
            </a> 
          </div>  
          <div class="x-titlebar-title">周边商家</div>  
          <div class="x-titlebar-right reverse"> 
          <a component="$UI/system/components/justep/button/button" class="btn btn-default btn-only-icon" label="button" xid="showSearchButton" icon="icon-android-search" onClick="showSearchButtonClick">
   <i xid="i2" class="icon-android-search"></i>
   <span xid="span3"></span></a></div>
        </div> 
      </div>  
    <div class="x-panel-content  x-scroll-view" xid="content1" _xid="C71D72B0CF900001D28F15A98DDBF230" style="bottom: 0px;"><div class="x-scroll" component="$UI/system/components/justep/scrollView/scrollView" xid="scrollView1" onPullDown="scrollView1PullDown" noMoreLoadLabel="已经到最后." autoPullUp="true" onPullUp="scrollView1PullUp">
   <div class="x-content-center x-pull-down container" xid="div1">
    <i class="x-pull-down-img glyphicon x-icon-pull-down" xid="i1"></i>
    <span class="x-pull-down-label" xid="span1">下拉刷新...</span></div> 
   <div class="x-scroll-content" xid="div2"><div component="$UI/system/components/justep/row/row" class="x-row  search-panel" xid="row1" style="display:none;">
   <div class="x-col" xid="col1"><input component="$UI/system/components/justep/input/input" class="form-control" xid="searchContent" placeHolder="商家名称"></input></div>
   <div class="x-col x-col-fixed" xid="col2" style="width:auto;"><a component="$UI/system/components/justep/button/button" class="btn btn-default" label="搜索" xid="searchButton" onClick="searchButtonClick">
   <i xid="i3"></i>
   <span xid="span4">搜索</span></a>
  </div>
   </div><div component="$UI/system/components/justep/list/list" class="x-list x-cards" xid="list1" data="nearShopData" autoLoad="true" bind-click="shopClick" limit="5">
   <ul class="x-list-template" xid="listTemplateUl1">
    <li xid="li1" class="x-min-height list-group-item"><div class="media" xid="media1">
   <div class="media-left" xid="mediaLeft1">
    <a href="#" xid="a1">
     <img class="media-object" src="" alt="" xid="image1" bind-attr-src=' $model.getLeftImageUrl(val("photo"))' style="width:60px;" height="50px"></img></a> </div> 
   <div class="media-body" xid="mediaBody1">
    <h5 xid="h51" class="media-heading" style="color:#000000;" bind-text=' val("name")'>标题</h5>
    <span xid="span8" bind-html="val('introduce').length &gt; 30 ? val('introduce').substring(0, 30) + &quot;...&quot; : val('introduce')"></span></div> </div></li></ul> </div></div>
   <div class="x-content-center x-pull-up" xid="div3">
    <span class="x-pull-up-label" xid="span2"><![CDATA[加载更多]]></span></div> </div>
  </div>
  </div> 
</div>